home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmListReplaceItemsPosUnselected.z / XmListReplaceItemsPosUnselected
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossssUUUUnnnnsssseeeelllleeeeUUUUccccNNNNttttIIIIeeeeXXXXddddXXXX((((SSSSmmmm3333yyyyLLLLXXXXssssiiii))))ttttsssseeeettttmmmmRRRReeeeVVVVppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossssUUUUnnnnsssseeeelllleeeecccctttteeeedddd((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossssUUUUnnnnsssseeeelllleeeecccctttteeeedddd - A List function that
  10.           replaces items in a list without selecting the replacement
  11.           items
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.           #include <Xm/List.h>
  15.           vvvvooooiiiidddd XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossssUUUUnnnnsssseeeelllleeeecccctttteeeedddd(
  16.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  17.           XXXXmmmmSSSSttttrrrriiiinnnngggg ****nnnneeeewwww____iiiitttteeeemmmmssss,
  18.           iiiinnnntttt iiiitttteeeemmmm____ccccoooouuuunnnntttt,
  19.           iiiinnnntttt ppppoooossssiiiittttiiiioooonnnn);
  20.  
  21.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  22.           This page documents Motif 2.1.
  23.  
  24.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  25.           XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossssUUUUnnnnsssseeeelllleeeecccctttteeeedddd replaces the specified
  26.           number of items in the list with new items, starting at the
  27.           given position. The replacement items remain unselected,
  28.           even if they currently appear in the XXXXmmmmNNNNsssseeeelllleeeecccctttteeeeddddIIIItttteeeemmmmssss list.
  29.  
  30.           _w_i_d_g_e_t    Specifies the ID of the List widget to replace
  31.                     items in.
  32.  
  33.           _n_e_w__i_t_e_m_s Specifies a pointer to the replacement items.
  34.  
  35.           _i_t_e_m__c_o_u_n_t
  36.                     Specifies the number of elements in _n_e_w__i_t_e_m_s and
  37.                     the number of items in the list to replace.  This
  38.                     number must be nonnegative.
  39.  
  40.           _p_o_s_i_t_i_o_n  Specifies the position of the first item in the
  41.                     list to be replaced. A value of 1 indicates that
  42.                     the first item replaced is the first item in the
  43.                     list; a value of 2 indicates that it is the second
  44.                     item; and so on.
  45.  
  46.                     Beginning with the item specified in _p_o_s_i_t_i_o_n,
  47.                     _i_t_e_m__c_o_u_n_t items in the list are replaced with the
  48.                     corresponding elements from _n_e_w__i_t_e_m_s. That is,
  49.                     the item at _p_o_s_i_t_i_o_n is replaced with the first
  50.                     element of _n_e_w__i_t_e_m_s; the item after _p_o_s_i_t_i_o_n is
  51.                     replaced with the second element of _n_e_w__i_t_e_m_s; and
  52.                     so on, until _i_t_e_m__c_o_u_n_tis reached.
  53.  
  54.           For a complete definition of List and its associated
  55.           resources, see XXXXmmmmLLLLiiiisssstttt(3).
  56.  
  57.      RRRREEEELLLLAAAATTTTEEEEDDDD
  58.           XXXXmmmmLLLLiiiisssstttt(3).
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.